﻿using lingopen.AutoMapper;
using lingopen.Entity.CRM;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lingopen.Application.CRM
{
    [MapToType(typeof(CRM_Customer))]
    public class UpdateCustomerInput : AddOrUpdateCustomerInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
        public DateTime? LastModifyTime { get; set; }
        public string LastModifyUserId { get; set; }
    }

    [MapToType(typeof(CRM_PMS))]
    public class UpdatePMSInput : AddOrUpdatePMSInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
        public DateTime? LastModifyTime { get; set; }
        public string LastModifyUserId { get; set; }
    }
}
